package database.local;

import java.util.List;

import server.SaveZoneHttpConnection;
import server.ServerObject;

public class User extends ServerObject {
	private String user_name;
	private String email;

	public User(String user_name, String email) {
		setUser_name(user_name);
		setEmail(email);
	}
	
	/**
	 * @return the user_name
	 */
	public String getUser_name() {
		return user_name;
	}

	/**
	 * @param user_name the user_name to set
	 */
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	
	public Likes getLikeList() {
		return SaveZoneHttpConnection.getLikeList(this);
	}
	
}
